<ion-view view-title="销售邀请用户入口">
    <ion-content>
        <div ng-hide="isSide">
            <div class="list mt20">
                <label class="item item-input">
                    <span class="input-label">手机号码</span>
                    <input type="text" ng-model="data.loginName" maxlength="11">
                </label>
                <label class="item item-input">
                    <span class="input-label">登录密码</span>
                    <input type="password" ng-model="data.password">
                </label>
            </div>
            <button class="button button-block button-positive" ng-click="showLogin()">
                点击登录
            </button>
        </div>
        <div ng-show="isSide" style="margin-top: 20%">
            <h4 class="text-center mt20" style="margin-bottom: 20px">你的邀请函已生成,<span>点击右上角分享</span></h4>
            <button class="button button-block button-positive" ng-click="modal.pre_sile()">
                邀请函预览
            </button>
            <p style="color: #999;text-align: center">单击预览页面任意一处返回或直接分享</p>
        </div>
    </ion-content>
</ion-view>